package com.cn.wanxi.service;

import com.cn.wanxi.model.PageBean;
import com.cn.wanxi.model.UserModel;

import java.util.List;

public interface UserService {
    String login(UserModel userModel);

    UserModel findById(Integer id);

    String save(UserModel userModel);

    String update(UserModel userModel);

    String delete(Integer id);
    PageBean<UserModel> findAll(UserModel userModel);


    String updateEnable(UserModel userModel);

    int getCount(UserModel userModel);
}
